If you set the 'redstoneonly' attribute to true, the door or trapdoor can only be opened by redstone.
Valid values are 'true' and 'false'. Default value: 'normal'
redstoneonly=true;
redstoneonly=false;